home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / comm / term / term41source.lha / Extras / Source / term-Source.lha / SMakefile < prev    next >
Encoding:
Makefile  |  1994-09-09  |  3.2 KB  |  89 lines

  1. ###############################################################################
  2. #
  3. #    SMakefile
  4. #
  5. #    Makefile for the `SMake' utility required to build `term'
  6. #
  7. #    Copyright © 1990-1994 by Olaf `Olsen' Barthel
  8. #        All Rights Reserved
  9. #
  10. ###############################################################################
  11.  
  12. .c.o:
  13.     SC $(CFLAGS) $(GST) $(OPTIONS) OBJNAME=$*.o $*.c
  14.  
  15. .c.oo:
  16.     SC $(CFLAGS) $(GST) $(OPTIONS) $(OPTIMIZE) OBJNAME=$*.oo $*.c
  17.  
  18. .asm.o:
  19.     ASM -IASM: -D $*.asm
  20.  
  21. CPU        = ANY
  22. #CPU        = 68030
  23.  
  24. OPTIMIZE    = OPTIMIZE OPTINLOCAL OPTTIME
  25.  
  26. INCLUDEFLAGS    = DEFINE=INCLUDEALL
  27. INCLUDEFILES    = gtlayout.h termGlobal.h termData.h termProtos.h \
  28.           termErrors.h termARexxAttributes.h termARexxGlobal.h
  29.  
  30. OPTIONS        = CPU=$(CPU) UTILLIB
  31.  
  32. GST        = GSTIMM GST=term.gst
  33.  
  34. CFLAGS        = MCCONS STREQ STRMERGE NOSTKCHK IDLEN=65 NOVER
  35. LFLAGS        = DEFINE __CXM33=__UCXM33 DEFINE __CXD33=__UCXD33 \
  36.           DEFINE __CXM22=__UCXM22 DEFINE __CXD22=__UCXD22 \
  37.           SC SD ND NOICONS
  38.  
  39. LIBS        = LIB:sc.lib LIB:amiga.lib
  40.  
  41. OBJS        = termTag.o ASCIIPanel.o CapturePanel.o ClipPanel.o CommandPanel.o \
  42.           CopyPanel.o CursorPanel.o DatePanel.o DayPanel.o EmulationPanel.o \
  43.           FastMacroPanel.o HotkeyPanel.o ImportPanel.o LibPanel.o MacroPanel.o \
  44.           MiscPanel.o ModemPanel.o PasswordUserPanel.o PathPanel.o PatternPanel.o \
  45.           SerialIO.oo PhonePanel.o PrintPanel.o QuickSort.o RatePanel.o \
  46.           ScreenPanel.o SerialPanel.o SoundPanel.o SpeechPanel.o Start.o \
  47.           termAbout.o termAmigaGuide.o termARexx.oo termARexxAttributes.oo termARexxCommands.oo \
  48.           termARexxData.o termASCIITransfer.oo termAux.o termBeep.o termBoxes.o \
  49.           termBuffer.oo termCall.o termCapture.oo termClip.oo termConfig.o \
  50.           termConsole.oo termCRC.o termCrypt.oo termData.o termDial.o \
  51.           termEmulation.oo termEmulationProcess.oo termFastMacros.o termFastMacroWindow.oo termFileBuffer.oo \
  52.           termHotkeys.o termIdentify.o TerminalPanel.o termInfoWindow.o termInit.o \
  53.           termLists.oo termLocale.o termMain.o termMarker.o termMemory.oo \
  54.           termMisc.o termMsgQueue.oo termOldConfig.o termPacket.o termPhone.o \
  55.           termPickFile.o termPickScreen.o termPrint.o termRaster.oo termRemember.oo \
  56.           termResponse.oo termReviewBuffer.oo termSaveWindow.o termScale.oo termScroll.oo \
  57.           termSendText.oo termSerial.oo termSound.oo termSpeech.o termStatusDisplay.o \
  58.           termStrings.o termTextBuffer.oo termTimeDate.o termTransfer.o termTranslate.oo \
  59.           termTraps.o termUploadQueue.o termXEM.oo termXPR.oo TimePanel.o \
  60.           TransferPanel.o TranslationPanel.o TrapPanel.o UploadPanel.o
  61.  
  62. all:        term.gst term
  63.  
  64. termTag.o:    termTag.asm term_rev.i
  65.         ASM -IASM: termTag.asm
  66.  
  67. term:        $(OBJS)
  68.         SLINK WITH T:term.WITH <<!(T:term.WITH)
  69.             FROM
  70.             $(OBJS)
  71.             TO
  72.             $@.debug
  73.             LIB
  74.             $(LIBS)
  75.             $(LFLAGS)
  76.         <
  77.  
  78. term.gst:    PreInclude.c termStrings.h termExtras.h OwnDevUnit.h xproto.h xem.h Rendezvous.h $(INCLUDEFILES)
  79.         SC NOOBJNAME DEFINE=CATCOMP_NUMBERS IDLEN=65 $(INCLUDEFLAGS) MAKEGST=$@ PreInclude.c
  80.         GST $@
  81.  
  82. Start.o:    Start.c
  83.         SC $(CFLAGS) $(OPTIMIZE) DEFINE=_M$(CPU) Start.c
  84.  
  85. termARexxCommands.oo:        termARexxCommands.c termARexxGlobal.h termARexxAttributes.h
  86. termARexx.o:            termARexx.c termARexxGlobal.h termARexxAttributes.h
  87. termARexxData.o:        termARexxData.c termARexxGlobal.h termARexxAttributes.h
  88. termARexxAttributes.oo:        termARexxAttributes.c termARexxGlobal.h termARexxAttributes.h
  89.